using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using ShopPowerTemplate.Entities;
using ShopPowerTemplate.Presentation.Mvc.Models;

namespace ShopPowerTemplate.Presentation.Mvc.ViewModels
{
	public partial class CreateProductViewModel
	{

		// Entity properties
		public Int32 Id { get; set; }
		[Required]
		public String Name { get; set; }
		[Required]
		public String Description { get; set; }
		[Required]
		public Decimal Price { get; set; }
		[Required]
		public Decimal Tax { get; set; }
		[Required]
		public Boolean Prominent { get; set; }
		public Decimal? Weight { get; set; }
		public Decimal? Discount { get; set; }
		public Boolean? IsInactive { get; set; }
		[Required]
		[Display(Name="Subcategory")]
		public int? SubcategoryId { get; set; }
		public string IdentityDescription { get; set; }
		// DropDownList
		public List<Subcategory> SubcategoryList { get; set; }
	}
}
